Starts to sketch in the selection logic for the page segments.