fix blank landing page

The checkURL logic broke somehow for the case of there being nothing appended to the url like `#home`.