fixes row spacing in Safari and implements a max size for the board so it doesn't zoom in too much with large browser windows