work on the detection of the left boundary of the grid

The blocks now won't go beyond the left boundary. but I think the
approach I took might be costly on resources (double jQuery.extend). I
already have an alternative (and more efficient) approach in mind to
solve this boundary problems.