The link for the fiddle is

http://jsfiddle.net/zU4Q8/

I want to add functionality so that sub menu is hidden only if

1) mouse is moved down of main menu

2) if page is scrolled down

3) sub menu should not close if hover on sub menu


Please reply. Thanks.