Hi Sandy,
You can check the standard code how it is working when you switch from one tab to another. You can debug the code and find the relevant code which is actually doing this.
There should be use of outbound plugs.
Instead of using Navigation by Logical link you can use stated above.
Hope it helps.
Thanks
Kumar Gaurav.