added maxWidth for popups for mobile device niceness