added prefs for page margin