Improved: working with variable calendar padding (fixed)