added calendar and next/back months fixed trainig bug