compress scroll script, call min script