added position absolute to slider class