working updating sidebar calendar on view change.