vertical graph now goes in the right direction