Fix topbar resize issue

Fixes #85
I have not yet wrapped my head around it but, it appears that matchMedia is not defined at that point, at least during the unit test. Even window.matchMedia thats supposed to be native, appears to be null :|