Bug solved with done buttons

when the next and previous buttons are hidden the done button is in the
wrong position