Floating Objects

Added code for objects to be floating.