fixing menu button flip back to top issue