removes scroll interception and cleanup comments