Just for clarification: the actual purpose of the scroll ‘s’ (also called the long s, latin s, or medial s) was to save space. As with the various typesetting ligatures to hit the scenes later, any s that was not either upper case, or at the end of a word was replaced with the slimmer more accomodating medial s.
Because in handwritten forms, it’s slanted (like /), and is shaped like an integral sign. (In fact, that’s what the integral sign is. At the end of a word, that looks crufty.