adds resize event for screen