Implement visibility API to stop slide rotatios whe tab isn't focused.