implemented project gallery pagination