         if $scope.isMobile()
             do $scope.hideMenu
 
+    $scope.panelToTop = ->
+        panelElem = document.getElementById('main-panel')
+        if panelElem then panelElem.scrollTop = 0
+
     $scope.hideMenu = ->
         $scope.seemenu = false
 

        $scope.setBlogEntries places
        $scope.showPanel()
        $scope.expandPanel()
        panelElem = document.getElementById('main-panel')
        if panelElem then panelElem.scrollTop = 0

eob_controllers.controller 'eob_BlogCtrl', ($scope, eob_data) ->
    $scope.hideNewerLink = ->


    $scope.setPlace = (place) -> $scope.place = place
    $scope.setSuggestions = (place) -> $scope.suggestions = place
    $scope.setPanel = (panel) ->
        $scope.panel = panel
        $scope.panelToTop()

    $scope.setBlogEntries = (places) ->
        $scope.blogEntries = _.sortBy(places, 'date').reverse()
