add home function to card navigator