modify active view click logic