Fix style and add dragging and scrolling position