initial implementation of card navigation