adding logic to display selected cards differently