Slider style material design pure css and javascript