Change slider control logic.

Before: robot moved while we drag slider. Now: robot sets the frame
only after slider was released.
This fixes problem with error loop on disconnected robot and it is
safer for robot.