added carousel function to project gallery