Added endCanvas script to display cards