Here is my design with my cabinets shown. One side of the cabinet will be directly attached to the stand, the other side I will see how much of a gap I have and fill it appropriately with wood then attach. Again on the garage side, I was just going to attach 2x4's at the bottom, unless you all feel I need more.
This gives more details of what I have planned in the future. Think this should stop the swaying?