Fixed bug with open class not being removed when arrows clicked to hide