Hide the permalink-div when viewer is destroyed or hidden
Merge pull request #6 from marlin2/pulls

Hide the permalink-div when viewer is destroyed or hidden