Add basic framework for transitions on layers

Allow users to specify start, end pixel distance and type for in and out transition on each layer, add UI for new fields.