Fixed friendship views to work with ajax pagination