first implementation of slide control