added also getResizeHappened() method