Small refactor in x scale and padding for list