putting toolbar in preview