Fixes #770

This update add a lock flag that will avoid multiple click() call while the effect is not over. This fix solve the angry clicks on slideshow forward/backward buttons and probably more issues.

Another way to solve multiple click() issues would be to stack click() call and execute them one after the other.