Fixed issue with slider panning.