Middle button - clean screen
Fix negative offsets (when rel < 0 max (rel) choose wrong value)