{"action":"opened","issue":{"url":"https://api.github.com/repos/metafizzy/isotope/issues/935","labels_url":"https://api.github.com/repos/metafizzy/isotope/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/metafizzy/isotope/issues/935/comments","events_url":"https://api.github.com/repos/metafizzy/isotope/issues/935/events","html_url":"https://github.com/metafizzy/isotope/issues/935","id":89379173,"number":935,"title":"jQuery isotope auto scrolls to top","user":{"login":"lekhraj-knockmedia","id":11524342,"avatar_url":"https://avatars.githubusercontent.com/u/11524342?v=3","gravatar_id":"","url":"https://api.github.com/users/lekhraj-knockmedia","html_url":"https://github.com/lekhraj-knockmedia","followers_url":"https://api.github.com/users/lekhraj-knockmedia/followers","following_url":"https://api.github.com/users/lekhraj-knockmedia/following{/other_user}","gists_url":"https://api.github.com/users/lekhraj-knockmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/lekhraj-knockmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekhraj-knockmedia/subscriptions","organizations_url":"https://api.github.com/users/lekhraj-knockmedia/orgs","repos_url":"https://api.github.com/users/lekhraj-knockmedia/repos","events_url":"https://api.github.com/users/lekhraj-knockmedia/events{/privacy}","received_events_url":"https://api.github.com/users/lekhraj-knockmedia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T19:37:14Z","updated_at":"2015-06-18T19:37:14Z","closed_at":null,"body":"function isotopInit() {\r\njQuery('.products-grid').each(function () {\r\n    if (!jQuery(this).parents('#header').length) {\r\n        if (!jQuery('body').hasClass('rtl')) {\r\n            jQuery(this).isotope({\r\n                itemSelector: '.item',\r\n                resizable: true,\r\n                layoutMode: 'fitRows',\r\n                transformsEnabled: false\r\n            });\r\n        } else {\r\n            jQuery(this).isotope({\r\n                itemSelector: '.item',\r\n                resizable: true,\r\n                layoutMode: 'fitRows',\r\n                transformsEnabled: false\r\n            });\r\n        }\r\n    }\r\n});\r\n}\r\n\r\nThat's function is called on page load. My issue is it takes page to the top.\r\n\r\nFor eg. I am on Product list page of en E-commerce site at the bottom of the page and i click on the product and go to a product page and when i click on Browser Back button page then product list is at the bottom of the page but after few seconds it scrolls back to top.\r\n\r\nWhen I comment following code \r\n\r\n\r\n jQuery(this).isotope({\r\n            itemSelector: '.item',\r\n            resizable: true,\r\n            layoutMode: 'fitRows',\r\n            transformsEnabled: false\r\n        });\r\n\r\nPage doesn't scroll to top.\r\n\r\nPlease help, Thanks"}}