fixed the resizing issue for the requirements panel