Adjusted the size of the frames