Fixed a scrollbar bug in the PhotoViewer.