Add slider to template