Fixed previous bug. Horizontal view now works.