Move selection to screen borders when < 10 px is left