delete slide function added
bugfixes add slide
prepared structure for ajax calls