Add smooth camera movement based on delta time

This is dependent on the new variable speedX and speedY, which
can be set using the new setSpeed function. setX and setY will
only be smoothed if called with a dt parameter. It is optional.