Adjusted page scroll position for work onclick at front