added ability to duplicate slides. TODO: Fix data x and data y values