Added pan control