Edited to allow responsive resizing

Changed WIDTH/HEIGHT vars (lines 51-52), xscale/yscale calcs (160-161), added code to try to prevent label scaling (lines 168-172) that didn't work.