Bummer, your pictures are not displaying (only an X).
My thought from what you have fabricated is that it is a little large. I can see the need to get it secured firmly. Another consideration, maybe for IF you revisit the design is what type of battery are you running. If you are using a lithium ion, it will be smaller and MUCH lighter than a gel battery.
Personally, I am hesitant to run a battery next to the swingarm, since it will have some exposure to elements and I don't want my battery or terminals exposed to water (rain, wet road, etc.). I imagine this is why you tried to "contain" the battery with a case.