added map functionality with slider