Fix lookup logic for page.slug
Includes more media queries for tablet and mobile views