making slider moveable