Putting totals on one line to be later fixed.
Made total fixed at bottom if view port is above it.