fixing rating star display on galleries