How do they maintain horizontal velocity?
Actually that's not quite correct, I believe it is not quite out of the atmosphere completely and as such there is a (very) small amount of air resistance and they have to fire engines to boost back into the appropriate orbit every once in a while.