fixed pagetools being inaccessible on screens lacking necessary height, and aligned them to content when on smaller screens