edited side menu and expansion feature