trigger resize event on location update