bug 1076878 - Ensure navbar adapts to device size