Added Horizontal Moving

Added function arguments to allow moving elements on the x-axis
(horizontally).