Detection of scanning velocity or position by detecting synchronisation signals or driving signals, e.g. page sync