dayClick and select functions are fixed