Added example for generating animated gifs
Modified browser object to support animation
modified test to show 2d only