Fix for #151 - slide can now be closed programatically.