Cards stayed on page when route changed

Fixed this issue