Add methods to get and set the view extent