Adjust style sheet for next and previous buttons when resizing.