Enable space bar for toggling preview mode