Enable click in viewer and set new height and width