Fixes issue with Reveal and opening/closing multiple views