tab changing feature for multi page editor view