making graph vertical