resizing some elements