added class to selected view