reorder detection of page to mimic what the weebly site does