adding responsive layouts to gallery categories, fixing selected class bug in gallery categories slice