move hide event to only clicking on dates