working on resize event support