resize background image to faster loading