better toggling between cards on mobile