Finished basic slider logic.