solving issues, vertical now working, fixing horizontal