Pagecontainer: Restrict dependence on events to events/scroll