Thank you for the reply. No, not the scroll to up – that I will sort out on mobile devices later.
What I meant is when clicking on the menu item, it takes you (scrolls) to the menu item on the page. It correctly takes you to the correct page on a big screen but on smaller screens (tablets, mobile devices, etc) it misses the page section because of the offset set in the jQuery.
I want to find out if there is a way to adjust the offset for each of the different layouts?