Fix handling of click just off ends of slider to work with touch