Fix scrollIntoView undefined bug when there is no hash, fixes #114

Thanks to @kevin-buttercoin for this fix!