Fixes speed of transition