fixing git error with photogur
displaying newest 5 photos and photos older than 1 month