When a pdf is opened then the useful space for the main bar is reduced by the width of the right sidebar.
I deleted the installed themes and now it is works allright again.