Remove some custom padding and alignment functions and replace with the new align function from the video library.