Updated to animated ? duration : 0 style

For me this is a lot cleaner. I didn't test that the transitioning between views (show/hide) works as expected, but I can't imagine why not?