Handle hiding and showing of sub-menus, since they are stacked using absolute position