Switch container from form to div