Added pan controls