fix gallery and media category bars