updated pta

set up tab toggling
set up link function to use linkManager callback option