Adjusting preview box size