fix unit navigation on small screens