This part of code changed in 1fbb4c3880 to fix navigation, but now it didn't work in tablets because it tried to load the forum index page. Maybe this change breaks a case we haven't detected
1fbb4c3880