JC|DK: Updated refresh to handle refreshing onto the same slide

Our QA found a bug in the previous pull request. Could this be updated?
The problem was that if you refresh onto the same slide, the 'goto' method just returned, therefore the transition didn't happen as expected.