Updated page controls to be more flexible and semantic.