resize the background image