adds hover to photos and creates photo partial