Adds additional rules for placing ellipses as well as indicators for moving to the first or last page