Code should scroll in x-axis