Fixed bug when creating task in row where there is other task. Added functionality to make task shorter by reversing mouse direction.