addResizeListener and removeResizeListener added