remove unnecessary libraries and add step to pan controls