Improved mouse navigation by locking the line which is moved at the
moment.