Added a rotation option

Added the 'rotate' option which enables the tabs to rotate automatically