Issue in auto - rotating of tabs

@Stan can you have a look in this issue?