Change separate functions into a single toggle

Instead of a function for hiding and showing, combine the two into a
single toggle