fixing transition on menu