Added setting action_nav for function to trigger the onclick event of the navigation to the previous or next month.