fixed panBy