Fixed bugs in gallery scss code.