Pin any element within a container