increase performance by not using HTML calls to measure width/height of tags but instead calc'ing myself in JS with calcs