removing the popup flicker

occurring on subsequent icon clicks
Merge branch 'master' of https://github.com/sfletche/ol3-animation