[jquery] How to check if a div is visible state or not?