added ability to toggle friends details, by first making ajax call to fill in details