Fix height calculation of topbar if page is scaled down to mobile and toggled.