Your argument is baseless because you are leaping to there being some connection between a "rivalry" and the brexit referendum results.
In fact, even if you look only at people who voted "no" in the Scottish referendum, the great majority of them were Remain voters in the brexit referendum. For "yes" voters there was actually less of a Remain majority than for No voters. So much for your theory of rabid Scottish nationalism and England-hatred causing the result!
There's some irony in you complaining about the EU being dominated by bigger countries, while expecting Scotland to just "like it or lump it" when it comes to decisions made by England in the UK.
At least in the EU you have a veto - in the UK? No such luck.