button for seeing more of a friend's photos is only displayed when there are more photos to see (determined by comparing length of userPosts to displayNum)