make board sizes relative to browser window