navbar active class added, leave ride added