Handling the unit navigation