added responsive rules to slider