update popbox.min.js after change directions