fixing resize bug, gradient reorder