set sensible defaults for date slider
more PEP8 and code cleanup