added calendar hide on outside click