Provide a popup (like train schedule uses), containing a textfield and a slider. This way it is possible to validate the input and keep them within their ranges in a more intuitive way..