Rename ‘sides’ to ‘horizontal’ and ‘ends’ to ‘vertical’