diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index ceef02f..73a5216 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -1,7 +1,7 @@
'use strict';
-AIA.controller("TileViewListController", ["$scope", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "BodyRegions", "BodySystems", "ViewOrientations", "ImageTypes", "DataService", "ModuleService",
-function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Modules, $routeParam, BodyRegions, BodySystems, ViewOrientations, ImageTypes, DataService, ModuleService) {
+AIA.controller("TileViewListController", ["$scope", "$window", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "BodyRegions", "BodySystems", "ViewOrientations", "ImageTypes", "DataService", "ModuleService",
+function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeout, DA, Modules, $routeParam, BodyRegions, BodySystems, ViewOrientations, ImageTypes, DataService, ModuleService) {
$rootScope.OpenedTileData = [];
@@ -115,6 +115,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
console.log(' error: ' + error.statusText);
}
)
+ if (localStorage.getItem('AAGridViewScroll') !== null) {
+ $('html, body').animate({ scrollTop: localStorage.getItem('AAGridViewScroll') }, 'slow');
+ }
}
//$scope.$on('$viewContentLoaded', function (event) {
@@ -159,7 +162,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$rootScope.listArray.push({ "imageName": $rootScope.OpenItemImagePath, "text": moduleItemDataToBeSaved });
//3. set opened module item ti
localStorage.setItem("currentViewTitle", $rootScope.OpenedTileData[6]);
-
+ localStorage.setItem("AAGridViewScroll", $($window).scrollTop());
//3. Navigate to the Module-item-view
var u = $location.url();
$location.url('/module-item-view');
diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html
index d6906eb..6f6a657 100644
--- a/400-SOURCECODE/AIAHTML5.Web/index.html
+++ b/400-SOURCECODE/AIAHTML5.Web/index.html
@@ -1893,7 +1893,7 @@