removed add/remove class, added some vanilla.js for speed, fixed flickering if using next/prev, save etc