Make _grid mixin better and add support for IE7