add focused effect to some widgets