Adds css transition to main/sub menus (plus general tweaks)