Resize container on move