Added demo page and improved the way windows resize event handled
Provided an api method to unload the instance that was previously initalized