fix up menu transition in safari