Added some constraints for relative positioning