For instance, in an alkaline battery, the anode is typically made of zinc, and manganese dioxide acts as the cathode. And the electrolyte between and inside those electrodes contains ions. ... These free electrons congregate inside the anode (the bottom, flat part of an alkaline battery)
Hope this helps:)
Different speeds of light through two separate media ... and the difference in wavelength caused by the difference ... causes the bending of waves fronts associated with light rays.
AFTER the bend, since the light rays then travel in a different direction, we may also say that the 'velocity' has changed.