binds resize to window for navigation resizing