Changed css transition to 'ease'