Redesign vertical/horizontal alignment popups based on material