resize and slim background image