navigating links invalidates UI when using jquerymobile's collapsible

navigating links invalidates UI when using jquerymobile's collapsible

Not sure if it's a known issue, but I noticed that pages that use jquerymobile's collapsible cause other pages to be rendered incorrectly. What's more surprising is that this behavior is consistent across different browsers, on top of that I noticed lots of other weird issues with pages that use collapsible from jquerymobile. As a side note: I use in my page jquerymobile only because of collapsible, but most likely it's not an issue of collapsible, but of jquerymobile instead.

Here's how it happens: page that uses collapsible has a link to another page that doesn't use jquery: simple table with lots of rows and data. When I navigate to that page it's rendered completely wrong. I need to hit F5 to make sure it looks the way it's supposed to. ANother weird issue that I noticed with jquerymobile/collapsible: when i navigate to a plane jpg image and then navigate back using alt+left I don't get that jquerymobile page, I need to hit F5 again to get it shown up. All these issues are consistent across different browsers (e.g. chrome, FF etc). I noticed that when navigating away from jquerymobile page it actually does XHR instead of regular GET, perhaps, jquerymobile fucks it up somehow. How do I prevent that shit?