tabbing the 'view' and 'edit' pages