made page dynamically sized