updated viewHidden stuff
Merge pull request #20 from felamaslen/fela_js

updated viewHidden stuff