That goes way back to the Middle Ages. That first letter is called a "long s", less commonly referred to as an "extended s". It developed because it was easier to slide a quill pen from one letter to the next if you made it like that. When the printing press was invented it was so ingrained that people kept on using it for centuries even though it was not needed in printed material.
Michael Montagne