move to a div per page architecture