added mixin to center an element, both horizontally and vertically