Update image_rotator.html

Created a method to stop animations, useful for when tabbing out of  the page so that setInterval code throttling by modern browsers will not effect the transitions. This also ensures that the user will not miss content, as it pauses when away from the page.