resize background image to speed up the load