Boundary effect on slow motion of a composite sphere perpendicular to two parallel impermeable plates