updating the padding for buttons in slideshow