added class to container's parent element