use transform instead of positioning for offset