Touch functionality for slider