update background div's size when width changes