Implemented first version of slider