basic resizing, some polymer elements