Continual Learning with Transformers for Image Classification