Added support for toggling track visibility