attempt at implementing vertical slider