adding hide show notes functions