Change transition method to linear