fix content jump on navigation

On navigation between views the content jumps to the left because the scrollbar is temporarily removed.