jquery mobile transitions when switching to secure url

jquery mobile transitions when switching to secure url

I have a dialog that appears using the slidedown transition on my test site.
When I move to my live site, it is showing with no transition.

The reason for this is the URL for the dialog.
If I have the url as http://mysite.com/loginDialog.php it works perfectly with the slidedown transition.


If I have the url as https://mysite.com/loginDialog.php it loads with no transition.


It looks like using https rather than http is causing the issue.
The strange thing is, if I click a link on the dialog, the next page slides in so it seems as though the transition doesn't work when switching from http to https. If you're going from http to http or https to https it works ok.

Does anybody know a way to fix this?