added slider width attribute to slide box