Fixed viewer properties when moving the scrollbar.