add a 'heightFunc' and 'peek' setting