Added resizing handling.