added a nav wrapper to help with arrows relative position to pager rather than to gallery box. There is a scenario that the gallery box contains other elements and so arrows will position relative to that content, and not near the pager which is more likely need in this case, even better perhaps an entire gallery wrapper is created but for now this will do
added minified version for fun