Re-initialize entry events on screen width change

This fixes some small inconsistencies that happen when the browser window is resized.
For example, when you open Selfoss in a window that is >1024px wide, items expand only when clicking on the title. But when you open Selfoss in a window that is <1024px wide and then resize it to >1024px, clicking anywhere on the item expands it.