Changing heights to auto