Add transition effect for menu items