You could have a transparent layer or layers and handle differently - much like the back and forward buttons on a carousel used for images for instance.
We'd need a little more information really to be able to properly help.
When you say page what do you mean? Webpages, pages/forms in an App when you say location is it a fixed location or dependent on the content of the 'page' being displayed..?