Adjusts size of previous UI