scale tiles relatively to window size