Change page offset so it can be both positive and negative