Add viewport resizing with leader mappings