Resize Nav Bar

Added javascript to resize the navbar on clicked link