Calendar hides on click off of it