Datepicker Link Issue v1.12

datepicker previous month link behaviour

HTML

<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<link rel="stylesheet" href="https://jsfiddle.net/resources/demos/style.css">
<script src="https://code.jquery.com/ui/1.13.0/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.0/themes/smoothness/jquery-ui.css">
<div id="calendarDiv"></div>

JavaScript

$('#calendarDiv').datepicker({
    numberOfMonths: 3,
    maxDate: 0,
    stepMonths: 1
});