update css transition for main menu