Added some logic to allow for relative or absolute positioning