tidied up card view; added back-button directive and test