Resize and reposition some elements