add keyboard support to slider