fix a nightmode bug

this fixes a bug in Chrome where when you click the lightbulb icon, it
will jump to the bottom of the page.