finish navigation for small screens