adds two more callbacks which pass the content of the active and hidden tabs
only hides the previously active tabs
remove the stopVideo function