update page loop to use pages tiered data

NOTE: the default theme still does not support page dropdown at this
time.