Fix friends page navigation bug