Added stacking and horizontal movement.