Moved panning codes to slider control buttons and some bug fixes

- Fixed bug where time's position relative to touch is shifted to
towards the right of the touch
- Fixed bug where touch does not end properly, causing interactions to
jump.
Removed panning interaction from arrow buttons. Brought back swiping and prev/next frame
Shifted most button time function codes to forward/back button. Removed infinite time extension while controlling markers
Changed time tick and activity bar colors
Bug fixes

Fixed bug where initial pen color was initialised wrongly.
Fixed bug where widget's position did not get updated after a time tick
interaction
Implemented caching during transition