auto-adjusting slider - a bit wonky