Fix pagetree row overflow

Control page row overflow by way of media query