add hack for content offset
hide folds when not in use
some fixes when dragging
fix stuff breaking if panning vertically (when no vertical views)
use cadisplaylink