Pure JS plugin for creating image slider