Corrected the slide in feature for Tasks and TaskComments.

Before it wouldn't correctly calculate the last page, how many rows were currently visible, etc.

Although the fix I have put in isn't the greatest, everything seems to be working at this stage and is enough to keep us going to do more important featres.
Merge pull request #10 from HexagonSystems/develop

Corrected the slide in feature for Tasks and TaskComments.