finalized hiddenDates, fixed tablet support. Cleaned up code, set 4 pixel threshold for performance.