Add different transitions

Also fix issues with goTo page if the page is identified by a css
selector.