Added a folding effect to the main menu. Fixed the issue where the menu extended when the chevron appeared.