Update API.md

Made the TOC be listed vertically instead of horizontally