fix sidebar crashing into text