fix bug with changing visibility/layer
'resolution' argument to Scheduler.interp
period/t_max optional in interp_{repeat,oscillate}