{"action":"created","issue":{"url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/5","labels_url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/5/comments","events_url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/5/events","html_url":"https://github.com/mscraftsman/devcon2015/pull/5","id":61173143,"number":5,"title":"Making the page scroll when navigating from top menu","user":{"login":"Nayar","id":454815,"avatar_url":"https://avatars.githubusercontent.com/u/454815?v=3","gravatar_id":"","url":"https://api.github.com/users/Nayar","html_url":"https://github.com/Nayar","followers_url":"https://api.github.com/users/Nayar/followers","following_url":"https://api.github.com/users/Nayar/following{/other_user}","gists_url":"https://api.github.com/users/Nayar/gists{/gist_id}","starred_url":"https://api.github.com/users/Nayar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nayar/subscriptions","organizations_url":"https://api.github.com/users/Nayar/orgs","repos_url":"https://api.github.com/users/Nayar/repos","events_url":"https://api.github.com/users/Nayar/events{/privacy}","received_events_url":"https://api.github.com/users/Nayar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T18:25:55Z","updated_at":"2015-03-18T11:18:22Z","closed_at":"2015-03-18T11:18:22Z","pull_request":{"url":"https://api.github.com/repos/mscraftsman/devcon2015/pulls/5","html_url":"https://github.com/mscraftsman/devcon2015/pull/5","diff_url":"https://github.com/mscraftsman/devcon2015/pull/5.diff","patch_url":"https://github.com/mscraftsman/devcon2015/pull/5.patch"},"body":"Note: behavious untested on mobile devices. Please test before going live"},"comment":{"url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/comments/82908626","html_url":"https://github.com/mscraftsman/devcon2015/pull/5#issuecomment-82908626","issue_url":"https://api.github.com/repos/mscraftsman/devcon2015/issues/5","id":82908626,"user":{"login":"jochenkirstaetter","id":7329802,"avatar_url":"https://avatars.githubusercontent.com/u/7329802?v=3","gravatar_id":"","url":"https://api.github.com/users/jochenkirstaetter","html_url":"https://github.com/jochenkirstaetter","followers_url":"https://api.github.com/users/jochenkirstaetter/followers","following_url":"https://api.github.com/users/jochenkirstaetter/following{/other_user}","gists_url":"https://api.github.com/users/jochenkirstaetter/gists{/gist_id}","starred_url":"https://api.github.com/users/jochenkirstaetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochenkirstaetter/subscriptions","organizations_url":"https://api.github.com/users/jochenkirstaetter/orgs","repos_url":"https://api.github.com/users/jochenkirstaetter/repos","events_url":"https://api.github.com/users/jochenkirstaetter/events{/privacy}","received_events_url":"https://api.github.com/users/jochenkirstaetter/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T11:18:22Z","updated_at":"2015-03-18T11:18:22Z","body":"Hi Nayar,\r\n\r\nThanks for solving this problem. I merged it manually using the following code snippets:\r\n\r\n\r\n$('body').on('click', '.scroll-link', function (e) {\r\n    $('html, body').animate({\r\n        scrollTop: $('.container').offset().top\r\n    }, 500);\r\n});\r\n\r\n$('body').on('click', '.scroll-top', function (e) {\r\n    $('html, body').animate({\r\n        scrollTop: $('html').offset().top\r\n    }, 500);\r\n});\r\n"}}