Stop sticky behaviour if viewport or container is smaller than the sticky element.