updated to remove the on blur since it didn't allow using the prev/next month buttons