use DateTime to produce dates for idx more than 29days.
show 10 friends at a time; more realistic number.