Effect of finite reservoir size on electroosmotic flow in microchannels