better menu logic and css