Example showing the global scrollfunctionality