resize event, when triggered on view passes the view itself as param