shifting boxes along right direction