add location relative to element