IOS 7 compatibility
Only display maximum of 2 date boxes