fixing styling bug on profile gallery