Adding Carmina callback functions to deal with left and right panels