added writeTrajctory button and fixed some more layout things
presets now working for all trajectory components