Fixed offset issue when coming from main page