implement bootstrap grid for legend