fix mobile transition flicker