Adding in toggle method for easy view management