Flash card viewing added

Dynamically sets the number of fragments according to the set.