Fix responsive grid in template views