added reset function to CustomNavigationView