Add snap to grid gem with fixed dependencies