Change sidebar animation time

I wasn't satisfied with default animation. It didn't have any curve options for animation. So it user dragging topview I use one animation values, if use tapped on button I use another values.