Add vertical and horizontal stretch to position mixin
Add overwrite parameter to register-palette mixin and function.