Added the grid. Made the slider function.