adds thumbnail info hover layer to gallery pages