Scale the firework position according to the browser window size.