Slowing down and reflection of waves in truncated periodic media