It's all down to the order in which you create the inventory slots. If you created them on a horizontal row then they will move left/right, if you create them on a vertical column then they will move up/down. Either way you will need to play around with the order in which you create & position the inventory placeholder slots.
Also if you check the properties (cog icon) for the interface you can adjust the amount of items to scroll by.