Remove extra whitespace from end of slides