Add the click event and the open class to the css.