fixing responsive navbar at intermediate size (hack to work around bootstrap)