Fixing the open class to hit the topmost menu item