Solved scrollbars bug. scrollbars were showing after going to any info page, then returning to gallery page.