Make slider work on touch devices

Makes the videoposition slider work on touch devices.