Added Button offset movement

Made it so buttons can be moved relative to their current positions.
Also made all objects passed by reference.