Added tabs button functionality