fixed issue with motion effect being applied when closed
Merge pull request #99 from daltoniam/master

fixed issue with motion effect being applied when closed