refactors rendering methods to draw just tasks, ms and datelines visibles, and only the part of them that is visible accoding to date range