Adjust cell layout