Translated position code to use nib mixins