Scala sliding pillars