Added the ability to specify multiple elements above and below to correctly calculate the offset