Added tabs to the visualisation code