flatten directory structure and add stick-to-top js gubbinry