Added method for next tab