added logic to reset badge when a user views a picutre or a stream profile