reimplemented next item functionality for cards