implemented basic slider