- improved sliding animation to take into account velocity