Implemented autoresize properly