Fixed overlay captions and previous and next buttons for categories.