using a gear and rack mechanism or a friction wheel co-operating with a rail