resize bugs fixed and added some pattern images