change tab switching logic
Merge remote-tracking branch 'refs/remotes/origin/noesispro_fd' into noesispro_fd