jQuery(document).ready(function () {

});

$(document).on('pageshow','#cal',function(e,data){

    $('#calendar').fullCalendar({
        //any options we want here
        height: "auto",
        handleWindowResize: true
    })
});

Update calendar.js to fix calendar