Close dropmenu when changing subpage