Added auto-rotate function to pagination, corrected bug in Chrome with both auto-rotators, both with pagination and without.