Please set the $vertical variable to false to see the horizontal version.