adding transition for menu