resized elements and background image