made content dynamically resizable