[Demo]: Add resize callback.