Fluxon dynamics and resonances in stacked arrays of Josephson junctions