update ui to make the form float beside the list