Adding closeOpenView method

Sometimes you may need to close the currently open view without guessing which one is open then using the toggle methods.

This implements the closeOpenView method from ViewDeck.