Convection in three dimensions with surface plates: Generation of toroidal flow