fix transition jumpyness