Adding general slider (not working yet)

fixes in map.js