removed old comments in resize listener in gui