Model microswimmers in channels with varying cross section.