Refactored code to get rid of the CURRENT_LEVEL global. The level par might be off by one.
Merge branch 'master' of https://github.com/nancydo/Html5DivFlipper