Feature: adjust size of container based on needed size