I bought several of these and installed them both vertically and horizontally.  I don't suggest doing it vertically, though.  The bottom glass cover can work it's way unscrewed.  I learned the hard way....