calendar layout fix