limit the homepage to the 5000 most recent photos