Improved: working with variable calendar padding