auto resize diary