Javascript Check If Element Is Hidden By Overflow