diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index 3070bb7..53949e3 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -274,9 +274,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
$scope.imageWidth = this.width;
$scope.imageHeight = this.height;
- $('#aaBodyView').css("height", $(window).outerHeight());
-
- $('#aaBodyView').css("width", $(window).outerWidth());
+
$timeout(function () {
$compile(aaViewElement.contents())($scope);
@@ -285,7 +283,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
//0.4 added some stylesheets
-
+ $('#aaBodyView').css("height", $(window).outerHeight());
+
+ $('#aaBodyView').css("width", $(window).outerWidth());
$rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height();
$('.canvasDivClass').css("height", $rootScope.canvasDivHeight);
diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
index 51bfce0..ab6a4c9 100644
--- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
+++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -517,7 +517,7 @@ pointer-events: auto;
position: absolute;
top: 110px;
left: 100px;
- z-index: 99999;
+ z-index: 9;
-moz-transition: left 0.5s ease;
transition: left 0.5s ease;
background: url(../../../../../content/images/icon-sidebar.png) no-repeat 0;