Added z offset with slider