cleaned the width and hieght of the slider