Text this: The local vertical density distribution of ultracool dwarfs M7 to L2.5 and their luminosity function