added resizing background