adjust background on resize