Shift of button 'close' when 'console' is hidden