added basic slider implementation