Add transition option to setView

Addresses https://github.com/walmartlabs/thorax/issues/228

@lyzadanger does this PR suit your needs?