Adding javascript for softbounce, changing bound to bounce