Adding tab index to cards