fixed sliding plane for negative coordinates

also improved keyboard navigation and screen distances