fixed navigation for small screens and added link target support